package com.czwj.entities;

public class OperateResult {

	private boolean success;
	private Object data;
	private String errMsg;
	private String code;
	
	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public OperateResult() {
		super();
	}

	public OperateResult(boolean success, Object data, String errMsg) {
		super();
		this.success = success;
		this.data = data;
		this.errMsg = errMsg;
	}

}
